from django import template

register = template.Library()


@register.filter(name='concat_string')
def concat_string(value, arg):
    return arg.strip() + str(value)  # add string to the front of value
